﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using AgenciaViajeServices.Dominio;

namespace AgenciaViajeServices
{
    [ServiceContract]
    public interface IRendirs
    {
        [OperationContract]
        [FaultContract(typeof(ValidationException))]
        Rendir CrearRendir(int codau, int codemp, string estasol, double hotel, double viaticos, double movi, double tele, double gasto, double impaereo, double pasaje, double combus, double otros);
        [OperationContract]
        Rendir ObtenerRendir(int codigo);
        [OperationContract]
        Rendir ModificarRendir(int codigo, int codau, int codemp, string estasol, double hotel, double viaticos, double movi, double tele, double gasto, double impaereo, double pasaje, double combus, double otros);
        [OperationContract]
        void EliminarRendir(int codigo);
        [OperationContract]
        List<Rendir> ListarRendir();
    }
}

